package com.yunhe.video.service;

import com.yunhe.video.domain.ControlVideo;
import com.yunhe.video.domain.VideoResult;
import org.codehaus.jettison.json.JSONException;

import java.io.FileNotFoundException;

/**
 * @Author: DongWenYu
 * @Date: 2021/3/8 13:43
 */
public interface IVideoService {

    VideoResult sendCommand(String operateVideo , String command);

//    void receive(String message);

    void operateVideo(String operateVideo, String command, String action, String speed) throws FileNotFoundException, JSONException;
}
